export default {
  changeUserInfo(state, user) {
    state.userInfo = user;
    try {
      localStorage.userInfo = user;
      console.log(localStorage.userInfo)
    } catch (e) {

    }

  },
  exitApp(state, user) {
    state.userInfo = "0";
    try {
      localStorage.userInfo = "0";
    } catch (e) {
    }
  }


}
